package com.woniuxy.joylifeforum.dto;

import com.woniuxy.common.entity.ForumForum;
import com.woniuxy.common.entity.ForumPhoto;
import com.woniuxy.common.entity.ForumTopic;
import com.woniuxy.common.entity.CenterUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 为主页话题内容封装
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TopicDto {
    private CenterUser centerUser;
    private ForumForum forumForum;
    //社区关注量
    private Long concern;
    private ForumTopic forumTopic;
    //话题点赞数量
    private Long praiseNum;
    //话题评论数量
    private Long replyNum;
    //图片集合
    private List<ForumPhoto> forumPhotos;
    //当前用户改话题点赞状态
    private Integer status;
  
}
